<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="index :: common_header(~{::title},~{::link})">
<meta charset="UTF-8">
<title>SSO系统后台管理</title>
<link rel="stylesheet" href="../../../css/bootstrap.min.css">
<link rel="stylesheet" href="../../../css/AdminLTE.min.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">
	<div class="wrapper">
		<header class="main-header">
			<a href="" class="logo">
			 <span class="logo-lg"><b>Admin</b>LTE</span>
			</a>
			<nav class="navbar navbar-static-top">
				<a href="" class="sidebar-toggle" data-toggle="push-menu" role="button">
					<span class="sr-only">Toggle navigation</span>
				</a>
			</nav>
		</header>

		<aside class="main-sidebar">
			<section class="sidebar">
				<div class="user-panel">
					<div>
					
					</div>
				</div>
			</section>
		</aside>

		<div class="content-wrapper">
			<section class="content-header"></section>
			<section class="content">
				<div class="box box-default">
					<div class="box-header">
						<a href="add.html" class="btn btn-primary" th:href="@{/manager/add}">Add</a>
					</div>
					<div class="box-body">
						<table class="table">
							<thead>
								<tr>
									<th></th>
									<th th:text="#{common.name}">Name</th>
									<th th:text="#{common.service_url}">Service Url</th>
									<th th:text="#{common.description}">Description</th>
								</tr>
							</thead>
							<tbody>
								<tr th:each="object : ${registeredServices}">
									<td><span class="glyphicon glyphicon-th-list"></span></td>
									<td><a href="details.html" th:href="@{/manager/details/{id}(id=${object.id})}" th:text="${object.name}">Default</a></td>
									<td th:text="${object.serviceUrl}">http://localhost:8080/default</td>
									<td th:text="${object.description}">default text</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</section>
		</div>
	</div>
</body>
</html>